package 反射第一遍.demo10;

/**
 * @author wql
 * @version 1.0
 * @date 2022/10/27 9:38
 */

public class Test {
    public static void main(String[] args) throws Exception{

        Class wqlClass = wql.class;

        wql wql = new wql();
        Class aClass = wql.getClass();

        Class aClass1 = Class.forName("反射第一遍.demo10.wql");

        System.out.println(wqlClass==aClass);
        System.out.println(wqlClass==aClass1);
        System.out.println(aClass==aClass1);
    }
}
class  wql{
    private String name;
    private Integer age;
    public void show(){
        System.out.println("你好");
    }
}
